/*! \file ResourceManager.cpp
 *	\brief 
 *
 *	created:	2010/07/27
 *	created:	27:7:2010   16:21
 *	filename: 	C:\src\tactics-engine\libs\rm\ResourceManager.cpp
 *	file path:	C:\src\tactics-engine\libs\rm
 *	file base:	ResourceManager
 *	file ext:	cpp
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */
#include "resource_manager/stdafx.h"
#include "resource_manager/SimpleResourceManager.h"

#include "io/BaseFileSystem.h"

namespace tt{
namespace rm{

SimpleResourceManager::SimpleResourceManager(const SharedPtr<io::BaseFileSystem>& fs)
: m_fs(fs)
{

}

SimpleResourceManager::~SimpleResourceManager()
{

}

SharedPtr<io::BaseIStream> SimpleResourceManager::OnGetStream( const String& streamName )
{
	return m_fs->GetIStream( io::Path(streamName) );
}

} //namespace rm
} //namespace tt